package cn.zhuzicc.reflect;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

/**
 * @author zx
 * @version 1.0
 * @className: Test05
 * @description: 类的加载与ClassLoader的理解
 * @date: 2021/4/27 15:47
 */
public class Test05 {
    public static void main(String[] args) {

        A a = new A();
        System.out.println(A.m);
    }
}

class A {
    static {
        System.out.println("A类静态代码块初始化");
        int m = 300;
    }

    static int m = 100;

    public A() {
        System.out.println("A类无参构造初始化");
    }
}